//
//  ContentView.swift
//  SwiftUI-Demo
//
//  Created by 胡红星 on 2/11/25.
//

import SwiftUI

struct ContentView: View {
    var body: some View {
        TabView {
            HomeView()
                .tabItem {
                    Image(systemName: "house.fill")
                    Text("首页")
                }
            
            FinanceView()
                .tabItem {
                    Image(systemName: "circle")
                    Text("金融")
                }
            
            LifeView()
                .tabItem {
                    Image(systemName: "cup.and.saucer.fill")
                    Text("生活")
                }
            
            ShopView()
                .tabItem {
                    Image(systemName: "bag.fill")
                    Text("商城")
                }
            
            ProfileView()
                .tabItem {
                    Image(systemName: "person.fill")
                    Text("我的")
                }
        }
    }
}

#Preview {
    ContentView()
}
